﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace ElingOA6_Admin_DSJCJ.Areas.Admin.Models
{
    /// <summary>
    /// 信息列表显示实体类
    /// </summary>
    public class DocumentGridModel
    {
        /// <summary>
        /// 信息编号
        /// </summary>
        public decimal FDocId
        {
            set;
            get;
        }
        /// <summary>
        /// 类别编号
        /// </summary>
        public string FDocClsCd
        {
            set;
            get;
        }
        /// <summary>
        /// 类别名称
        /// </summary>
        public string FDocClsName
        {
            set;
            get;
        }
        /// <summary>
        /// 标题
        /// </summary>
        public string FTitle
        {
            set;
            get;
        }
        /// <summary>
        /// 发布部门名称
        /// </summary>
        private string deptName;
        /// <summary>
        /// 发布部门名称
        /// </summary>
        public string FDeptName
        {
            set
            {
                deptName = value;
            }
            get
            {
                if (deptName == "")
                {
                    return FWorkGrpName;
                }
                else
                {
                    return deptName;
                }
            }
        }
        /// <summary>
        /// 发布人
        /// </summary>
        public string FEmpName
        {
            set;
            get;
        }
        /// <summary>
        /// 发布日期
        /// </summary>
        public DateTime FPubDate
        {
            set;
            get;
        }
        /// <summary>
        /// 审核日期
        /// </summary>
        public DateTime? FAuditDate
        {
            set;
            get;
        }
        /// <summary>
        /// 置顶
        /// </summary>
        public int FIsTop
        {
            set;
            get;
        }
        /// <summary>
        /// 状态
        /// </summary>
        public string FStatus
        {
            set;
            get;
        }
        /// <summary>
        /// 录用状态
        /// </summary>
        public string FIsEnroll
        {
            set;
            get;
        }
        /// <summary>
        /// 是否需要审核
        /// </summary>
        public string FIsNeedAudit
        {
            set;
            get;
        }
        /// <summary>
        /// 发布工作组名称
        /// </summary>
        public string FWorkGrpName
        {
            set;
            get;
        }
        /// <summary>
        /// 删除人
        /// </summary>
        public string FDelEmpName
        {
            set;
            get;
        }
        /// <summary>
        /// 删除日期
        /// </summary>
        public DateTime? FDelDate
        {
            set;
            get;
        }
        /// <summary>
        /// 是否推送到JCMS
        /// </summary>
        public string FIsPubJCMS
        {
            set;
            get;
        }
        /// <summary>
        /// 是否引用
        /// </summary>
        public string FIsReference
        {
            set;
            get;
        }
        /// <summary>
        /// 信息日期(审核日期不为空：审核日期，为空：发布日期)
        /// </summary>
        public DateTime FDisplayDate
        {
            set;
            get;
        }

        /// <summary>
        /// 编辑模式 H-HTML O-OFFICE
        /// </summary>
        public string FEditMode
        {
            set;
            get;
        }
        /// <summary>
        /// 图片路径
        /// </summary>
        public string FThumbSrvFileName
        {
            set;
            get;
        }

        /// <summary>
        /// 置顶排序
        /// </summary>
        public int FTopSeq
        {
            set;
            get;
        }


    }
}
